@tailwind base;
@tailwind components;
@tailwind utilities;


/* see https://ui.shadcn.com/docs/theming#list-of-variables */
@layer base {
  :root {
    /* Default background color of <body />...etc */
    --background: 0 0% 100%;
    --foreground: 258.9, 62.39%, 22.94%;

    /* Background color for <Card /> */
    --card: 0 0% 100%;
    --card-foreground: 258.9, 62.39%, 22.94%;

    /* Background color for popovers such as <DropdownMenu />, <HoverCard />, <Popover /> */
    --popover: 0 0% 100%;
    --popover-foreground: 258.9, 62.39%, 22.94%;

    /* Primary colors for <Button /> */
    --primary: 262.1 83.3% 57.8%;
    --primary-foreground: 252, 83.33%, 97.65%;

    /* Secondary colors for <Button /> */
    --secondary: 220 14.3% 95.9%;
    --secondary-foreground: 258.9, 62.39%, 22.94%;

    /* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */
    --muted: 249.47, 82.61%, 95.49%;
    --muted-foreground: 220 8.9% 46.1%;

    /* Used for accents such as hover effects on <DropdownMenuItem>, <SelectItem>...etc */
    --accent: 220 14.3% 95.9%;
    --accent-foreground: 220.9 39.3% 11%;

    /* Used for destructive actions such as <Button variant="destructive"> */
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 20% 98%;

    /* Default border color */
    --border: 220 13% 91%;

    /* Border color for inputs such as <Input />, <Select />, <Textarea /> */
    --input: 220 13% 91%;

    /* Used for focus ring */
    --ring: 262.1 83.3% 57.8%;

    /* Border radius for card, input and buttons */
    --radius: 0.3rem;
  }

  .dark {
    --background: 224 71.4% 4.1%;
    --foreground: 210 20% 98%;
    --card: 224 71.4% 4.1%;
    --card-foreground: 210 20% 98%;
    --popover: 224 71.4% 4.1%;
    --popover-foreground: 210 20% 98%;
    --primary: 263.4 70% 50.4%;
    --primary-foreground: 210 20% 98%;
    --secondary: 215 27.9% 16.9%;
    --secondary-foreground: 210 20% 98%;
    --muted: 215 27.9% 16.9%;
    --muted-foreground: 217.9 10.6% 64.9%;
    --accent: 215 27.9% 16.9%;
    --accent-foreground: 210 20% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 20% 98%;
    --border: 215 27.9% 16.9%;
    --input: 215 27.9% 16.9%;
    --ring: 263.4 70% 50.4%;
  }
}


@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

/**
 * WHAT IS THIS FILE?
 *
 * Globally applied styles. No matter which components are in the page or matching route,
 * the styles in here will be applied to the Document, without any sort of CSS scoping.
 *
 */

* {
  scrollbar-width: thin;
}

html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    'Noto Sans',
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    'Noto Color Emoji';
  height: 100%;
}

body {
  padding: 0;
  margin: 0;
  line-height: inherit;
  background-image: url('/imgs/bgt.svg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-content {
  flex: 1 0 auto;
}

.page-footer {
  flex-shrink: 0;
}

@counter-style checked-item {
  system: cyclic;
  symbols: ✔;
  suffix: ' ';
}

@counter-style unchecked-item {
  system: cyclic;
  symbols: ◻;
  suffix: ' ';
}
